#ifndef WCCPOSTFILEREQUEST_H
#define WCCPOSTFILEREQUEST_H

#include "wccnetworkrequestbase.h"
#include "wccapi_export.h"
#include <QFile>

namespace WccNameSpace {
namespace Internal {

class WCCAPI_EXPORT WccPostFileRequest : public WccNetworkRequestBase
{
    Q_OBJECT

public:
    explicit WccPostFileRequest(QObject *parent);
    WccPostFileRequest(QObject *parent, int id, const QString &url, const QString &fileName, const QByteArray &cookie, const QString &contentType = "");
    ~WccPostFileRequest();
    QFile* file();
    void requestFinished();

private:
    QFile *m_sendFile;
};

}
}

#endif // WCCPOSTFILEREQUEST_H
